﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;
using Krist_em_up.Characters;

namespace Krist_em_up.Item
{
    public abstract class Bonus : Sprite
    {
        public Bonus(Kristemup game,Vector2 position)
        {
            this.position = position;
            this.game = game;
        }
        public abstract void applyEffect(Kris kris);
        public abstract void endEffect(Kris kris);
        public void DrawB(SpriteBatch spriteBatch,Vector2 origin)
        {
            spriteBatch.Begin();
            spriteBatch.Draw(texture, position - origin, Color.White);
            spriteBatch.End();
        }
        public void DrawGui(SpriteBatch spriteBatch,Vector2 pos)
        {
            spriteBatch.Begin();
            spriteBatch.Draw(texture, pos, Color.White);
            spriteBatch.End();
        }
        public int getHeight
        {
            get { return texture.Height;}
        }
        public int getWidth
        {
            get { return texture.Width; }
        }
    }
}
